package com.cgw.auth.mapper;


import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.database.annotation.ForceDB;
import org.database.enums.Type;
import com.cgw.auth.entity.Account;
import org.springframework.stereotype.Repository;

/**
 *  映射层。
 *
 * @author gavin
 * @since 2024-01-05T13:34:24.8216206
 */
@Repository
public interface AccountMapper extends BaseMapper<Account> {
    /**
     * 详情
     * @param detailsId
     * @return
     */
    @ForceDB(type = Type.write)
    Account selectDetails(@Param(value = "detailsId") Integer detailsId);
}
